// ConfigTestAppDlg.h : header file
//

#if !defined(AFX_CONFIGTESTAPPDLG_H__A3BC1ECC_982A_466E_B650_7F4DF1EE3568__INCLUDED_)
#define AFX_CONFIGTESTAPPDLG_H__A3BC1ECC_982A_466E_B650_7F4DF1EE3568__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "cgi.h"


/////////////////////////////////////////////////////////////////////////////
// CConfigTestAppDlg dialog




class CConfigTestAppDlg : public CDialog
{
// Construction
public:
	void setTelNum(int btnNUM);
	void saveSetting();
	void SetConnectionInfo(int btnNUM);
	CConfigTestAppDlg(CWnd* pParent = NULL);	// standard constructor	
	CgiParam connectionInfo;
	CString publicTelNum;
	bool CheckNetStatus(int &netStatus);
	bool SendSetting(int n);
// Dialog Data
	//{{AFX_DATA(CConfigTestAppDlg)
	enum { IDD = IDD_CONFIGTESTAPP_DIALOG };
	CString	m_telStr1;
	CString	m_telStr2;
	CString	m_telStr3;
	CString	m_telStr4;
	CString	m_telStr5;
	CString	m_telStr6;
	CString	m_telStr7;
	CString	m_telStr8;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CConfigTestAppDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CConfigTestAppDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnSendBtn1();
	afx_msg void OnSendBtn2();
	afx_msg void OnSendBtn3();
	afx_msg void OnSendBtn4();
	afx_msg void OnSendBtn5();
	afx_msg void OnSendBtn6();
	afx_msg void OnSendBtn7();
	afx_msg void OnSendBtn8();	
	afx_msg void OnSendBtnALL();
	afx_msg void OnFactBtnALL();
	afx_msg void OnFactBtn1();
	afx_msg void OnFactBtn2();
	afx_msg void OnFactBtn3();
	afx_msg void OnFactBtn4();
	afx_msg void OnFactBtn5();
	afx_msg void OnFactBtn6();
	afx_msg void OnFactBtn7();
	afx_msg void OnFactBtn8();

	
	//}}AFX_MSG
	bool OnSendSetting(int btnNUM);
	bool Onfactorydefault(int btnNUM);
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CONFIGTESTAPPDLG_H__A3BC1ECC_982A_466E_B650_7F4DF1EE3568__INCLUDED_)
